<template>
  <div class="m-product-select">
    <div class="tab">
      <div class="ddt">{{ name }} <i class="el-icon-caret-bottom"></i></div>
      <div class="ddd">
        <div class="ddt select-title">{{ name }}</div>
        <span v-for="(item, index) in list" :key="index">{{ item.name }}</span>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  props: ["name", "list"],
};
</script>

<style>
</style> 